﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTOSingTowerMall;
using BLSingTowerMall;

namespace FacadeSingTowerMall
{
    public class TransactionsFacade
    {
        public bool makePyament(int bookingId, decimal amount)
        {
            TransactionProcess tp = new TransactionProcess();
            ITransaction payment = new Transaction();
            payment.BookingID = bookingId;
            payment.PaymentAmount = amount;
            tp.makePyament(payment);
            return true;
        }
    }
}
